package com.matt.repository;

import com.matt.domain.course.CoursePlanEarly;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;

import java.util.Date;
import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/11/20
 * *******************************
 */
public interface CoursePlanEarlyRepository extends JpaRepository<CoursePlanEarly, String>{
    List<CoursePlanEarly> findByClassesIdAndCourseDate(String classesId, Date courseDate);

//    @Modifying
//    Boolean deleteById(String planId);
}
